package com.ksyun.seckill.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ksyun.seckill.constant.Constant;
import lombok.Data;

import java.util.Date;

/**
 * 过期时间（在创建基础上加6个月）
 * @author ksc
 */
@Data
public class PurchaseOrderVO {

    private String campaignName;

    private String userPhone;

    private String friendCode;

    private String statusName;

    @JsonFormat(pattern = Constant.COMMON_DATE_AND_TIME, timezone = "GMT+8")
    private Date expirationTime;

    @JsonFormat(pattern = Constant.COMMON_DATE_AND_TIME, timezone = "GMT+8")
    private Date createTime;

}